Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFC iiab-upgrade #134

Open
wants to merge 42 commits into
base: master
Choose a base branch
from
Open

RFC iiab-upgrade #134

wants to merge 42 commits into from

Conversation

jvonau
Copy link
Contributor

@jvonau jvonau commented Sep 1, 2020

For testing in isolation from the more evasive jv-pi-gen branch

jvonau added a commit to jvonau/iiab that referenced this pull request Sep 2, 2020
jvonau added a commit to jvonau/iiab that referenced this pull request Sep 2, 2020
@jvonau
Copy link
Contributor Author

jvonau commented Sep 4, 2020

Elements of this routine have been heavily ripped off from rpi-update for the self updater and raspi-config for the whiptail boxes.

@jvonau jvonau force-pushed the iiab-upgrade branch 4 times, most recently from cc91a9d to 931a68a Compare September 9, 2020 01:48
jvonau added a commit to jvonau/iiab that referenced this pull request Sep 9, 2020
@jvonau jvonau force-pushed the iiab-upgrade branch 5 times, most recently from 2b59d2a to 8c3ec41 Compare September 10, 2020 04:04
@jvonau
Copy link
Contributor Author

jvonau commented Sep 10, 2020

cd /opt/iiab/iiab-factory
git checkout master
git pull origin master
git checkout -b iiab-upgrade
git pull https://github.com/jvonau/iiab-factory.git iiab-upgrade
sudo ./iiab-upgrade

@jvonau
Copy link
Contributor Author

jvonau commented Sep 10, 2020

curl https://raw.githubusercontent.com/jvonau/iiab-factory/master/7.2-install.txt | sudo bash

@jvonau jvonau force-pushed the iiab-upgrade branch 4 times, most recently from 719f8e8 to 94a004f Compare September 12, 2020 08:00
@jvonau
Copy link
Contributor Author

jvonau commented Sep 12, 2020

#77
#78
#79
#84
#110

jvonau added a commit to jvonau/iiab that referenced this pull request Sep 13, 2020
jvonau added a commit to jvonau/iiab that referenced this pull request Sep 16, 2020
@jvonau jvonau force-pushed the iiab-upgrade branch 3 times, most recently from 0072a78 to 183bb2a Compare September 17, 2020 11:49
georgejhunt pushed a commit to iiab/iiab that referenced this pull request Sep 17, 2020
* each major role change can be recorded in upgrade_roles with a bump in iiab_revision to denote the addition

* test source for iiab/iiab-factory#134

* keep iiab_revision with role name

* gitea

* introduce $INSTALLED_RELEASE $INSTALLED_REVISION into ansible

* set informational 'do_facts'

* 7.1.5-premap tag as starting point for iiab_revision 0

* no notes at all - use underscore for role name to match what is in iiab_state.yml

* use installed_revision trigger do_upgrade

do_reinstall will denote a major upgrade path in the future
jvonau added 25 commits November 4, 2020 12:31
Avoids a confict over /etc/ansible/ansible.cfg

Unpacking ansible-base (2.10.1-1ppa~bionic) ... dpkg: error processing archive
/var/cache/apt/archives/ansible-base_2.10.1-1ppa~bionic_all.deb (--unpack):
trying to overwrite '/etc/ansible/ansible.cfg', which is also in package ansible 2.9.13-1ppa~bionic
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) Errors were encountered while
processing: /var/cache/apt/archives/ansible-base_2.10.1-1ppa~bionic_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
jvonau added a commit to jvonau/iiab that referenced this pull request Nov 18, 2020
jvonau added a commit to jvonau/iiab that referenced this pull request Dec 7, 2020
jvonau added a commit to jvonau/iiab that referenced this pull request Dec 28, 2020
jvonau added a commit to jvonau/iiab that referenced this pull request Feb 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant